package com.wg.dome.entity.user;


import com.wg.core.annotation.DataMember;
import com.wg.db.annotation.EntityField;
import com.wg.db.annotation.EntityTable;

import java.io.Serializable;

/**
 * 玩家名字表，用于判断重名
 */
@EntityTable(tableName = "name", isStorageDb = false)
public class NameEntity implements Serializable {

    @DataMember(code = 1)
    @EntityField(isKey = true)
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
